﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NBusiness.CodeDom.Compiler;
using NBusiness.CodeDom.Services;

namespace NBusiness.ESharp.Testing.Mocks
{
    internal class MockBuildErrorService : IBuildErrorService
    {
        List<EntityBuildError> _errors = new List<EntityBuildError>();
        public List<EntityBuildError> Errors
        {
            get { return _errors; }
        }

        #region IBuildErrorService Members

        public void Add(EntityBuildError error)
        {
            _errors.Add(error);
        }

        #endregion
    }
}
